package com.shengqin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shengqin.common.pojo.CommonPage;
import com.shengqin.entity.Classes;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;
import java.util.List;
import java.util.Set;

/**
 * <p>
 * 班级信息 服务类
 * </p>
 *
 * @author Rui.Zhou
 * @since 2023-12-05
 */
public interface IClassesService extends IService<Classes> {

    Page<Classes> getPage(CommonPage<Classes> pageParam);

    Classes getByGradeAndName(Integer schoolId,Integer gradeId,String name);

    List<Classes> listBySchoolId(Integer schoolId);

    List<Classes> listByCodes(Collection<String> classesCodes,Integer schoolId);

    List<Classes> listBySchoolIds(List<Integer> schoolIds);

    void removeBySchoolId(Integer schoolId);
}
